var db = require("../modules/db.js");
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var DaysSchema = new Schema({
  day: {type: Number, index: true},
  isHoliday: Boolean,
  isOrderable: Boolean
});

mongoose.model("Day", DaysSchema);
var Day = mongoose.model("Day");

module.exports = Day;
